import request from "@/utils/request-gis";

// ---------------------------------------------------管点-------------------------------------------------
class GisPolygonInfoAPI {
  // 查询
  static api_query(data: any) {
    return request({
      url: "/api/GisPolygonInfo/QueryAsync",
      method: "post",
      data,
    });
  }

  // 查询 区域 坐标
  static api_query_geo(data: any) {
    return request({
      url: "/api/GisPolygonInfo/QueryJsonGeomAsync",
      method: "post",
      data,
    });
  }

  // 返回 城市 坐标
  static api_init_geom(data: any) {
    return request({
      url: "/api/GisInitPolygonInfo/QueryJsonGeomAsync",
      method: "post",
      data,
    });
  }
}
export default GisPolygonInfoAPI;
